package org.fast.easy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
/**
 * 启动程序
 *
 * @author YanMing
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class SystemCloudApplication {

    public static void main(String[] args) {

        SpringApplication application = new SpringApplication(SystemCloudApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  System Cloud Example 启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
